home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Begin VB.Form frmMultiply
- Caption = "Multiplication Table"
- ClientHeight = 1860
- ClientLeft = 975
- ClientTop = 2445
- ClientWidth = 5205
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- LinkTopic = "Form1"
- PaletteMode = 1 'UseZOrder
- ScaleHeight = 1860
- ScaleWidth = 5205
- Begin VB.CommandButton cmdDisplay
- Caption = "Display Table"
- Height = 495
- Left = 1080
- TabIndex = 1
- Top = 120
- Width = 2535
- End
- Begin VB.PictureBox picTable
- Height = 855
- Left = 120
- ScaleHeight = 795
- ScaleWidth = 4875
- TabIndex = 0
- Top = 840
- Width = 4935
- End
- Attribute VB_Name = "frmMultiply"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Private Sub cmdDisplay_Click()
- Dim j As Integer, k As Integer
- picTable.Cls
- For j = 1 To 4
- For k = 1 To 4
- picTable.Print j; "x"; k; "="; j * k,
- Next k
- picTable.Print
- Next j
- End Sub
-